#ifndef IDEVICEBUFFERMANAGER_H
#define IDEVICEBUFFERMANAGER_H


#include "Framework/Prerequisites.h"
#include "Graphics/IDeviceVertexBuffer.h"
#include "Graphics/IDeviceIndexBuffer.h"

namespace tyro
{
	namespace Graphics
	{
		class IDeviceBufferManager
		{
		public:

			IDeviceBufferManager(IDeviceBufferManagerBase* mgr);

			IDeviceVertexBufferSharedPtr CreateVertexBuffer(size_t vertexSize, size_t numVerts);
			IDeviceIndexBufferSharedPtr CreateIndexBuffer(VertexIndexType indexType, size_t numIndecies);

			VertexBufferBinding*	CreateVertexBufferBinding(void);
			VertexDeclaration*		CreateVertexDeclaration(void);



		protected:
		private:

			IDeviceBufferManagerBase*		bufferMgrImpl;
		};
	}
}
#endif